import Vue from 'vue'
import { createPinia, PiniaVuePlugin } from 'pinia'

import App from './App.vue'
import router from './router'
import './assets/main.css'
import * as echarts from 'echarts'
import Vcharts from 'vue-echarts'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
Vue.prototype.echarts=echarts
Vue.use(ElementUI);
Vue.use(PiniaVuePlugin)
export const $prototype = Vue.prototype
Vue.component('v-chart',Vcharts)

new Vue({
  router,
  pinia: createPinia(),
  render: (h) => h(App)
}).$mount('#app')
